package com.example.condition;

/**
 * @Date 2022/3/7
 * @Created by Jonathan
 */
public interface BlockingQueue<T> {

    /**
     * 方入数据
     *
     */
    void put(T element) throws InterruptedException;

    /**
     * 获取数据的接口
     *
     */
    T take() throws InterruptedException;


}
